#ifndef XATTR_INTERFACES_HPP
#define XATTR_INTERFACES_HPP

#include<string>
#include<vector>

namespace xattr{

//Types
struct attribute_t{
	std::string user_id;
	std::string timestamp;
	attribute_t(const std::string&id,const std::string&time):user_id(id),timestamp(time){}
};
struct file_attribute{
	std::string file_name;
	std::vector<attribute_t>attributes;
	file_attribute(const std::string&name):file_name(name),attributes(){}
};
typedef std::vector<file_attribute>attribute_list;


}//namespace xattr
#endif//XATTR_INTERFACES_HPP
